-export getvalue to be used for chainquery integration

This commit is contained in:
Mark Beamer Jr 2018-05-12 19:20:14 -04:00
parent c3800d585a
commit 04956a9e2c

View file

@ -184,7 +184,7 @@ function getBlockedOutpoints () {
});
}
function getValue (tx, i) {
export function getValue (tx, i) {
return new Promise((resolve, reject) => {
rp(`http://localhost:5000/claim_decode/${tx}/${i}`)
.then(function (htmlString) {