aboutsummaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2019-06-10 21:32:51 -0400
committerDeterminant <tederminant@gmail.com>2019-06-10 21:32:51 -0400
commit334fbbc9e4ed2131101062d8fbe1db4afae7c0aa (patch)
tree8f492ebe7c99e35bb2efcb125c71a388db9272ed /stream.go
parentd342de9e03902b93f1cff552e772f98caa0ee726 (diff)
...
Diffstat (limited to 'stream.go')
-rw-r--r--stream.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream.go b/stream.go
index 1e7860f..3037281 100644
--- a/stream.go
+++ b/stream.go
@@ -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)
}
+