github.com/aergoio/aergo@v1.3.1/types/staking.go (about)

     1  package types
     2  
     3  import "math/big"
     4  
     5  func (s *Staking) GetAmountBigInt() *big.Int {
     6  	return new(big.Int).SetBytes(s.GetAmount())
     7  }