MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / GetAccountNonce

Method GetAccountNonce

types/baseaccount.go:48–51  ·  view source on GitHub ↗

GetAccountNonce implements interfaces/Transaction.GetAccountNonce.

()

Source from the content-addressed store, hash-verified

46
47// GetAccountNonce implements interfaces/Transaction.GetAccountNonce.
48func (b *BaseAccount) GetAccountNonce() pi.AccountNonce {
49 // BaseAccount nonce is not counted, always return 0.
50 return pi.AccountNonce(0)
51}
52
53// Hash implements interfaces/Transaction.Hash.
54func (b *BaseAccount) Hash() (h hash.Hash) {

Callers 1

TestBaseAccountFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestBaseAccountFunction · 0.76