Skip to content

Commit

Permalink
Shargon's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Nov 17, 2020
1 parent 6734e60 commit 06517a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neo/Wallets/AssetDescriptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public AssetDescriptor(UInt160 asset_id)
sb.EmitAppCall(asset_id, "decimals");
script = sb.ToArray();
}
using ApplicationEngine engine = ApplicationEngine.Run(script, snapshot, gas: 3_000_000);
using ApplicationEngine engine = ApplicationEngine.Run(script, snapshot, gas: 0_02000000);
if (engine.State.HasFlag(VMState.FAULT)) throw new ArgumentException();
this.AssetId = asset_id;
this.AssetName = contract.Manifest.Name;
Expand Down

0 comments on commit 06517a5

Please sign in to comment.