comment out gettxout logic for now, need test-node infrastructure

This commit is contained in:
Olaoluwa Osuntokun 2015-12-15 15:24:19 -06:00
parent 6f9ba620a8
commit cd8a4ccfa5

@ -589,7 +589,7 @@ func (l *LightningWallet) handleFundingCounterPartySigs(msg *addCounterPartySigs
if txin.SignatureScript == nil { if txin.SignatureScript == nil {
txin.SignatureScript = pendingReservation.theirSigs[i] txin.SignatureScript = pendingReservation.theirSigs[i]
// Fetch the alleged previous output along with the /*// Fetch the alleged previous output along with the
// pkscript referenced by this input. // pkscript referenced by this input.
prevOut := txin.PreviousOutPoint prevOut := txin.PreviousOutPoint
output, err := l.rpc.GetTxOut(&prevOut.Hash, prevOut.Index, false) output, err := l.rpc.GetTxOut(&prevOut.Hash, prevOut.Index, false)
@ -616,7 +616,7 @@ func (l *LightningWallet) handleFundingCounterPartySigs(msg *addCounterPartySigs
if err = vm.Execute(); err != nil { if err = vm.Execute(); err != nil {
msg.err <- fmt.Errorf("cannot validate transaction: %s", err) msg.err <- fmt.Errorf("cannot validate transaction: %s", err)
return return
} }*/
} }
} }