mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-21 22:11:56 +01:00
fix the RPC SignRawTransaction
the RawTxInput struct missing a field "Amount",the RPC will return err.
This commit is contained in:
parent
f3ec13030e
commit
452807792e
1 changed files with 1 additions and 0 deletions
|
@ -590,6 +590,7 @@ type RawTxInput struct {
|
|||
Vout uint32 `json:"vout"`
|
||||
ScriptPubKey string `json:"scriptPubKey"`
|
||||
RedeemScript string `json:"redeemScript"`
|
||||
Amount float64 `json:"amount"`
|
||||
}
|
||||
|
||||
// SignRawTransactionCmd defines the signrawtransaction JSON-RPC command.
|
||||
|
|
Loading…
Add table
Reference in a new issue