Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ibudisteanu committed Oct 23, 2021
1 parent eb3e8c3 commit 16cc050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/satoshmindb/Interface-SatoshminDB.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class InterfaceSatoshminDB {
if (!response ) return null;
if ( !response._attachments ) return response.value;
if ( response._attachments.key ) return Buffer.from( Buffer.from( response._attachments.key.data, 'base64').toString(), "hex"); //get attachment
return Buffer.from( response._attachments.myBlob //get attachment
return Buffer.from( response._attachments.myBlob.data ) //get attachment

} catch (err) {

Expand Down

0 comments on commit 16cc050

Please sign in to comment.