mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 00:33:40 +02:00
can sync with segnet in hard mode
lots of changes but they seem to work
This commit is contained in:
2
shell.go
2
shell.go
@@ -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
|
||||
|
Reference in New Issue
Block a user