GetNonce returns random nonce
()
| 29 | |
| 30 | // GetNonce returns random nonce |
| 31 | func GetNonce() uint64 { |
| 32 | // Fixme replace with the real random number generator |
| 33 | nonce := uint64(rand.Uint32())<<32 + uint64(rand.Uint32()) |
| 34 | return nonce |
| 35 | } |
| 36 | |
| 37 | // ToHexString convert []byte to hex string |
| 38 | func ToHexString(data []byte) string { |
no outgoing calls