Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix applicationengine.run (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommo-L authored Aug 20, 2020
1 parent 86f7b90 commit 50324a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo-gui/GUI/InvokeContractDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void button5_Click(object sender, EventArgs e)
Script = script,
Witnesses = new Witness[0]
};
using ApplicationEngine engine = ApplicationEngine.Run(tx_test.Script, tx_test, testMode: true);
using ApplicationEngine engine = ApplicationEngine.Run(tx_test.Script, container: tx_test);
StringBuilder sb = new StringBuilder();
sb.AppendLine($"VM State: {engine.State}");
sb.AppendLine($"Gas Consumed: {engine.GasConsumed}");
Expand Down

0 comments on commit 50324a1

Please sign in to comment.