File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1+ // (c) 2025, Ava Labs, Inc. All rights reserved. 
2+ // See the file LICENSE for licensing terms. 
3+ 
4+ package  types
5+ 
6+ import  (
7+ 	ethtypes "github.com/ava-labs/libevm/core/types" 
8+ )
9+ 
10+ var  extras  =  ethtypes .RegisterExtras [
11+ 	ethtypes.NOOPHeaderHooks , * ethtypes.NOOPHeaderHooks ,
12+ 	ethtypes.NOOPBodyHooks , * ethtypes.NOOPBodyHooks ,
13+ 	isMultiCoin ,
14+ ]()
Original file line number Diff line number Diff line change @@ -32,14 +32,7 @@ import (
3232
3333type  isMultiCoin  bool 
3434
35- var  (
36- 	extras  =  ethtypes .RegisterExtras [
37- 		ethtypes.NOOPHeaderHooks , * ethtypes.NOOPHeaderHooks ,
38- 		ethtypes.NOOPBodyHooks , * ethtypes.NOOPBodyHooks ,
39- 		isMultiCoin ,
40- 	]()
41- 	IsMultiCoinPayloads  =  extras .StateAccount 
42- )
35+ var  IsMultiCoinPayloads  =  extras .StateAccount 
4336
4437func  IsMultiCoin (s  ethtypes.StateOrSlimAccount ) bool  {
4538	return  bool (extras .StateAccount .Get (s ))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments