From 1371ede9aad86dce624f4486b5d7831aa6de5a70 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 11 Jun 2019 19:28:12 -0400 Subject: finish the stress test --- stream.go | 1 + 1 file changed, 1 insertion(+) (limited to 'stream.go') 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) } -- cgit v1.2.3