mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-07 06:56:07 +01:00
refactor: update send functionality across wallet components (#925)
* refactor: update send functionality across wallet components --------- Co-authored-by: thesimplekid <tsk@thesimplekid.com>
This commit is contained in:
@@ -92,7 +92,7 @@ pub async fn pay_request(
|
||||
)
|
||||
.await?;
|
||||
|
||||
let token = matching_wallet.send(prepared_send, None).await?;
|
||||
let token = prepared_send.confirm(None).await?;
|
||||
|
||||
// We need the keysets information to properly convert from token proof to proof
|
||||
let keysets_info = match matching_wallet
|
||||
|
||||
@@ -221,7 +221,7 @@ pub async fn send(
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
let token = wallet.send(prepared_send, None).await?;
|
||||
let token = prepared_send.confirm(None).await?;
|
||||
|
||||
match sub_command_args.v3 {
|
||||
true => {
|
||||
|
||||
Reference in New Issue
Block a user