Small bugfix
This commit is contained in:
@@ -78,6 +78,7 @@ Handle<Value> address_decode(const Arguments& args) {
|
||||
|
||||
tools::base58::decode_addr(input, prefix, output);
|
||||
|
||||
if(output.length())
|
||||
output = uint64be_to_blob(prefix) + output;
|
||||
|
||||
Buffer* buff = Buffer::New(output.data(), output.size());
|
||||
|
||||
Reference in New Issue
Block a user