neo-go/pkg/neotest/account.go
Elizaveta Chichindaeva 28908aa3cf [#2442] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-04 19:48:27 +03:00

9 lines
168 B
Go

package neotest
var _nonce uint32
// Nonce returns a unique number that can be used as a nonce for new transactions.
func Nonce() uint32 {
_nonce++
return _nonce
}