aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/export_tx.go
diff options
context:
space:
mode:
authorDan Laine <[email protected]>2020-11-01 18:24:33 -0500
committerDan Laine <[email protected]>2020-11-01 18:24:33 -0500
commitc6fcd057903dc5ccc785b3a34fef534a4cb39d0a (patch)
tree76e1bb939b6e3e792c4649162907b14e8ab45ec7 /plugin/evm/export_tx.go
parent24abdf7cc0e5fc35ec89e45c1a8ccade9a49f11b (diff)
remove id.Bytes() and ids.NewID
Diffstat (limited to 'plugin/evm/export_tx.go')
-rw-r--r--plugin/evm/export_tx.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/evm/export_tx.go b/plugin/evm/export_tx.go
index 74e36b6..0778d0a 100644
--- a/plugin/evm/export_tx.go
+++ b/plugin/evm/export_tx.go
@@ -155,9 +155,9 @@ func (tx *UnsignedExportTx) Accept(ctx *snow.Context, _ database.Batch) error {
if err != nil {
return err
}
-
+ utxoID := utxo.InputID()
elem := &atomic.Element{
- Key: utxo.InputID().Bytes(),
+ Key: utxoID[:],
Value: utxoBytes,
}
if out, ok := utxo.Out.(avax.Addressable); ok {