diff options
author | Determinant <tederminant@gmail.com> | 2019-06-10 21:32:51 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2019-06-10 21:32:51 -0400 |
commit | 334fbbc9e4ed2131101062d8fbe1db4afae7c0aa (patch) | |
tree | 8f492ebe7c99e35bb2efcb125c71a388db9272ed /stream.go | |
parent | d342de9e03902b93f1cff552e772f98caa0ee726 (diff) |
...
Diffstat (limited to 'stream.go')
-rw-r--r-- | stream.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,7 +82,9 @@ func (self UInt256) UInt256IsNull() bool { return bool(C.uint256_is_null(self)) func (self UInt256) UInt256IsEq(other UInt256) bool { return bool(C.uint256_is_eq(self, other)) } func (self UInt256) Serialize(s DataStream) { C.uint256_serialize(self, s) } func (self UInt256) Unserialize(s DataStream) { C.uint256_unserialize(self, s) } +func (self UInt256) IsEq(other UInt256) bool { return bool(C.uint256_is_eq(self, other)) } func (self DataStream) GetHash() UInt256 { return C.datastream_get_hash(self) } + |