Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Feb 17, 2021
1 parent a7c9e8d commit 7770c09
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ public void TestCreateStandardMultisigAccount()
using var engine = ApplicationEngine.Create(TriggerType.Application, null, null, settings: TestBlockchain.TheNeoSystem.Settings, gas: 1100_00000000);

using var script = new ScriptBuilder();
script.EmitSysCall(ApplicationEngine.System_Contract_CreateMultisigAccount, new object[] { 2,
new object[] {
settings.StandbyCommittee[0].EncodePoint(true) ,
settings.StandbyCommittee[1].EncodePoint(true),
settings.StandbyCommittee[2].EncodePoint(true)
}
script.EmitSysCall(ApplicationEngine.System_Contract_CreateMultisigAccount, new object[]
{
2,
3,
settings.StandbyCommittee[0].EncodePoint(true),
settings.StandbyCommittee[1].EncodePoint(true),
settings.StandbyCommittee[2].EncodePoint(true)
});
engine.LoadScript(script.ToArray());

Expand Down

0 comments on commit 7770c09

Please sign in to comment.