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

Fix applicationengine.run #654

Merged
merged 1 commit into from
Aug 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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