github.com/FUSIONFoundation/efsn@v3.6.2-0.20200916075423-dbb5dd5d2cc7+incompatible/consensus/datong/votefork.go (about)

     1  package datong
     2  
     3  import (
     4  	"math/big"
     5  
     6  	"github.com/FusionFoundation/efsn/common"
     7  	"github.com/FusionFoundation/efsn/core/state"
     8  )
     9  
    10  //-------------------------- vote1 fork -------------------------
    11  func ApplyVote1HardFork(statedb *state.StateDB, blockNumber *big.Int, timestamp uint64) {
    12  	for _, addr := range common.Vote1DrainList {
    13  		statedb.TransferAll(addr, common.Vote1RefundAddress, blockNumber, timestamp)
    14  	}
    15  }