Function tari_wallet_ffi::wallet_cancel_pending_transaction[][src]

#[no_mangle]pub unsafe extern "C" fn wallet_cancel_pending_transaction(
    wallet: *mut TariWallet,
    transaction_id: c_ulonglong,
    error_out: *mut c_int
) -> bool

Cancel a Pending Transaction

Arguments

wallet - The TariWallet pointer transaction_id - The TransactionId error_out - Pointer to an int which will be modified to an error code should one occur, may not be null. Functions as an out parameter.

Returns

bool - returns whether the transaction could be cancelled

Safety

None