mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-23 15:34:22 +01:00
walletrpc: serialize TXID not outpoint
The txid_str field of a locked UTXO's outpoint shouldn't contain the output index but only the reverse order hex serialized transaction ID.
This commit is contained in:
@@ -1048,7 +1048,7 @@ func (w *WalletKit) FundPsbt(_ context.Context,
|
||||
Id: lock.lockID[:],
|
||||
Outpoint: &lnrpc.OutPoint{
|
||||
TxidBytes: lock.outpoint.Hash[:],
|
||||
TxidStr: lock.outpoint.String(),
|
||||
TxidStr: lock.outpoint.Hash.String(),
|
||||
OutputIndex: lock.outpoint.Index,
|
||||
},
|
||||
Expiration: uint64(lock.expiration.Unix()),
|
||||
|
||||
Reference in New Issue
Block a user