aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/factory.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-08-19 01:25:20 -0400
committerDeterminant <[email protected]>2020-08-19 01:25:20 -0400
commit0844c8c6919f6d98ebe8a9501360ef5bc362dff3 (patch)
tree08051cb62d585f4ed1ec1a1200ceb079201e8337 /plugin/evm/factory.go
parentb989b5f949424f72b125cbec460824b94b7c55ab (diff)
catch up with the new P-Chain cross-chain impl
Diffstat (limited to 'plugin/evm/factory.go')
-rw-r--r--plugin/evm/factory.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin/evm/factory.go b/plugin/evm/factory.go
index 31a617a..ae2ea27 100644
--- a/plugin/evm/factory.go
+++ b/plugin/evm/factory.go
@@ -14,14 +14,16 @@ var (
// Factory ...
type Factory struct {
- AVA ids.ID
- Fee uint64
+ AVAX ids.ID
+ AVM ids.ID
+ Fee uint64
}
// New ...
func (f *Factory) New() interface{} {
return &VM{
- avaxAssetID: f.AVA,
+ avaxAssetID: f.AVAX,
+ avm: f.AVM,
txFee: f.Fee,
}
}