lnwallet: remove GetTransaction method from BlockChainIO
This commit is contained in:
parent
0e8af209bd
commit
7d62293d4a
@ -216,10 +216,6 @@ type BlockChainIO interface {
|
||||
// returned. Otherwise, a non-nil error will be returned.
|
||||
GetUtxo(op *wire.OutPoint, heightHint uint32) (*wire.TxOut, error)
|
||||
|
||||
// GetTransaction returns the full transaction identified by the passed
|
||||
// transaction ID.
|
||||
GetTransaction(txid *chainhash.Hash) (*wire.MsgTx, error)
|
||||
|
||||
// GetBlockHash returns the hash of the block in the best blockchain
|
||||
// at the given height.
|
||||
GetBlockHash(blockHeight int64) (*chainhash.Hash, error)
|
||||
|
@ -1170,7 +1170,7 @@ func testSignOutputPrivateTweak(r *rpctest.Harness, w *lnwallet.LightningWallet,
|
||||
|
||||
// Query for the transaction generated above so we can located the
|
||||
// index of our output.
|
||||
tx, err := w.ChainIO.GetTransaction(txid)
|
||||
tx, err := r.Node.Miner.GetRawtransaction(txid)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to query for tx: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user