aboutsummaryrefslogtreecommitdiff
path: root/src/stream.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-08 19:22:29 -0400
committerDeterminant <[email protected]>2019-06-08 19:22:29 -0400
commit66c711cf653b082ae07e1119417dcb3461039c80 (patch)
tree4f018d84c6efc4dbaa3cf31102e26c0dd5db8b76 /src/stream.cpp
parent1f5bffd006ef432a2fa12fe5baf03c7160c42f73 (diff)
major API update
Diffstat (limited to 'src/stream.cpp')
-rw-r--r--src/stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stream.cpp b/src/stream.cpp
index 9dfe5fc..9ad41aa 100644
--- a/src/stream.cpp
+++ b/src/stream.cpp
@@ -77,9 +77,9 @@ uint256_t *datastream_get_hash(const datastream_t *self) {
return new uint256_t(self->get_hash());
}
-bytearray_t *datastream_to_bytearray(datastream_t *_moved_self) {
- auto res = new bytearray_t(std::move(*_moved_self));
- delete _moved_self;
+bytearray_t *bytearray_new_moved_from_datastream(datastream_t *_moved_src) {
+ auto res = new bytearray_t(std::move(*_moved_src));
+ delete _moved_src;
return res;
}