aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-09-19 01:28:41 -0400
committerDeterminant <[email protected]>2020-09-19 01:28:41 -0400
commit2580891f8be274b43ffa633edb11b8332e21f172 (patch)
tree24ff7da5724f7012979f23e75e0d48d5441def98 /plugin/evm/vm.go
parent573ff7bbf2a0b529fd3f8acf4aa825e446c73423 (diff)
...
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r--plugin/evm/vm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index 1f025ee..2ce72be 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -890,6 +890,8 @@ func (vm *VM) GetSpendableCanonical(keys []*crypto.PrivateKeySECP256K1R, assetID
}
inputs := []EVMInput{}
signers := [][]*crypto.PrivateKeySECP256K1R{}
+ // NOTE: we assume all keys correspond to distinct accounts here (so the
+ // nonce handling in export_tx.go is correct)
for _, key := range keys {
if amount == 0 {
break