aboutsummaryrefslogtreecommitdiff
path: root/src/stream.cpp
diff options
context:
space:
mode:
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;
}