Skip to content

Commit

Permalink
Merge pull request #23 from javiergradiche/patch-1
Browse files Browse the repository at this point in the history
Update utxo query for version 1.31.0
  • Loading branch information
alessandrokonrad committed Nov 19, 2021
2 parents f693b3a + feef911 commit 50f78a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class CardanocliJs {
const value = {};
let datumHash;
valueList.forEach((v) => {
if (v.includes("TxOutDatumHash")) {
if (v.includes("TxOutDatumHash") || v.includes("TxOutDatumNone") ) {
if (!v.includes("None"))
datumHash = JSON.parse(v.trim().split(" ")[2]);
return;
Expand Down

0 comments on commit 50f78a3

Please sign in to comment.