mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 03:56:34 +00:00
28908aa3cf
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
9 lines
168 B
Go
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
|
|
}
|