mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 07:35:07 +02:00
lntest+lnwallet: remove the method FetchInputInfo
This method is no longer used. In addition, the `Derivation` field on the `Utxo` is also removed to avoid nil dereference.
This commit is contained in:
@@ -43,21 +43,6 @@ func (w *WalletController) BackEnd() string {
|
||||
return "mock"
|
||||
}
|
||||
|
||||
// FetchInputInfo will be called to get info about the inputs to the funding
|
||||
// transaction.
|
||||
func (w *WalletController) FetchInputInfo(
|
||||
prevOut *wire.OutPoint) (*lnwallet.Utxo, error) {
|
||||
|
||||
utxo := &lnwallet.Utxo{
|
||||
AddressType: lnwallet.WitnessPubKey,
|
||||
Value: 10 * btcutil.SatoshiPerBitcoin,
|
||||
PkScript: []byte("dummy"),
|
||||
Confirmations: 1,
|
||||
OutPoint: *prevOut,
|
||||
}
|
||||
return utxo, nil
|
||||
}
|
||||
|
||||
// FetchOutpointInfo will be called to get info about the inputs to the funding
|
||||
// transaction.
|
||||
func (w *WalletController) FetchOutpointInfo(
|
||||
|
Reference in New Issue
Block a user