Skip to content

Commit

Permalink
print script by base64 (neo-project#2005)
Browse files Browse the repository at this point in the history
Co-authored-by: Tommo-L <[email protected]>
  • Loading branch information
2 people authored and cloud8little committed Jan 24, 2021
1 parent bd03ccb commit 4d6365a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Wallets/Wallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ private Transaction MakeTransaction(StoreView snapshot, byte[] script, Signer[]
{
if (engine.State == VMState.FAULT)
{
throw new InvalidOperationException($"Failed execution for '{script.ToHexString()}'", engine.FaultException);
throw new InvalidOperationException($"Failed execution for '{Convert.ToBase64String(script)}'", engine.FaultException);
}
tx.SystemFee = engine.GasConsumed;
}
Expand Down

0 comments on commit 4d6365a

Please sign in to comment.