Skip to content

Commit

Permalink
Added CallFlags for transfer all command (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
cschuchardt88 authored Nov 9, 2023
1 parent 940ac5e commit ebe4494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/neoxp/Extensions/ExpressNodeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public static async Task<UInt256> TransferAsync(this IExpressNode expressNode, U
sb.EmitPush(senderHash);
sb.EmitPush(4);
sb.Emit(OpCode.PACK);
sb.EmitPush(CallFlags.All);
sb.EmitPush("transfer");
sb.EmitPush(asset);
sb.EmitSysCall(ApplicationEngine.System_Contract_Call);
Expand Down

0 comments on commit ebe4494

Please sign in to comment.