diff --git a/wallet/utxos.go b/wallet/utxos.go index 0d2e8ab536..63c6b5b770 100644 --- a/wallet/utxos.go +++ b/wallet/utxos.go @@ -135,7 +135,7 @@ func (w *Wallet) FetchInputInfo(prevOut *wire.OutPoint) (*wire.MsgTx, } pubKeyAddr, ok := addr.(waddrmgr.ManagedPubKeyAddress) if !ok { - return nil, nil, nil, 0, err + return nil, nil, nil, 0, ErrNotMine } keyScope, derivationPath, _ := pubKeyAddr.DerivationInfo()