aboutsummaryrefslogtreecommitdiff
path: root/stream.go
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2019-06-11 19:28:12 -0400
committerDeterminant <tederminant@gmail.com>2019-06-11 19:28:12 -0400
commit1371ede9aad86dce624f4486b5d7831aa6de5a70 (patch)
treef04b9f7afddde9a03b71734e2bbce7b9fcabad12 /stream.go
parent69d0435bcc88cc8b4c140b876df5fcfb827b40ef (diff)
finish the stress test
Diffstat (limited to 'stream.go')
-rw-r--r--stream.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream.go b/stream.go
index 6a5d549..94b9281 100644
--- a/stream.go
+++ b/stream.go
@@ -79,6 +79,7 @@ func (self DataStream) GetDataInPlace(length int) []byte {
type UInt256 = *C.uint256_t
func NewUInt256() UInt256 { return C.uint256_new() }
+func (self UInt256) Free() { C.uint256_free(self) }
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) }