can sync with segnet in hard mode

lots of changes but they seem to work
This commit is contained in:
Tadge Dryja
2016-02-15 22:13:17 -08:00
parent a955a428a7
commit 0d3639435f
7 changed files with 135 additions and 40 deletions

View File

@@ -314,7 +314,7 @@ func SendCoins(s uspv.SPVCon, adr btcutil.Address, sendAmt int64) error {
return err
}
// make new input from this utxo
thisInput := wire.NewTxIn(&utxo.Op, prevPKscript)
thisInput := wire.NewTxIn(&utxo.Op, prevPKscript, nil)
tx.AddTxIn(thisInput)
nokori -= utxo.Value
if nokori < -10000 { // minimum overage / fee is 1K now