Skip to content

Commit

Permalink
remove unused field from fundrawtransaction result struct
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 committed Oct 14, 2024
1 parent aee9af7 commit 73f815d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/asset/btc/rpcclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,8 @@ func (wc *rpcClient) estimateSendTxFee(tx *wire.MsgTx, feeRate uint64, subtract
args = append(args, options)

var res struct {
TxBytes dex.Bytes `json:"hex"`
Fees float64 `json:"fee"`
ChangePosition uint32 `json:"changepos"`
TxBytes dex.Bytes `json:"hex"`
Fees float64 `json:"fee"`
}
err = wc.call(methodFundRawTransaction, args, &res)
if err != nil {
Expand Down

0 comments on commit 73f815d

Please sign in to comment.