We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6282d commit 075fb7aCopy full SHA for 075fb7a
packages/rs-sdk/src/platform/transition/transfer.rs
@@ -62,8 +62,8 @@ impl TransferToIdentity for Identity {
62
let result = state_transition.broadcast_and_wait(sdk, settings).await?;
63
64
match result {
65
- StateTransitionProofResult::VerifiedPartialIdentity(identity) => {
66
- identity.balance.ok_or(Error::DapiClientError(
+ StateTransitionProofResult::VerifiedBalanceTransfer(sender, _recipient) => {
+ sender.balance.ok_or(Error::DapiClientError(
67
"expected an identity balance after transfer".to_string(),
68
))
69
}
0 commit comments