Skip to content

Commit

Permalink
fullnode: handle getMetaView when txindex disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxcanfly committed Sep 7, 2018
1 parent 43119a4 commit e01c215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node/fullnode.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ class FullNode extends Node {
return this.txindex.getSpentView(meta.tx);
}

return null;
return this.chain.getCoinView(meta.tx);
}

/**
Expand Down

0 comments on commit e01c215

Please sign in to comment.