fix the RPC SignRawTransaction

the RawTxInput struct missing a field "Amount",the RPC will return err.
This commit is contained in:
kkkkking233 2020-01-07 16:42:50 +08:00 committed by GitHub
parent f3ec13030e
commit 452807792e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.