Merge pull request #331 from maraoz/bug/fix-historic-sync

fix historic sync
This commit is contained in:
Manuel Aráoz 2014-02-14 19:04:48 -02:00
commit 7c37e1e35f

View File

@ -471,6 +471,7 @@ function spec(b) {
var to = 0; var to = 0;
var tx = txInfo; var tx = txInfo;
if (tx.outs) {
tx.outs.forEach(function(o) { tx.outs.forEach(function(o) {
var s = new Script(o.s); var s = new Script(o.s);
var addrs = self.getAddrStr(s); var addrs = self.getAddrStr(s);
@ -482,6 +483,7 @@ function spec(b) {
} }
to++; to++;
}); });
}
var count = 0; var count = 0;
txInfo.vin = txInfo. in .map(function(txin) { txInfo.vin = txInfo. in .map(function(txin) {