btcjson: Add spendable to listunspent result.

This commit is contained in:
Josh Rickmar 2015-05-27 11:16:19 -04:00
parent 8a4a875e9d
commit 6f1272e767

View file

@ -113,6 +113,7 @@ type ListUnspentResult struct {
RedeemScript string `json:"redeemScript,omitempty"`
Amount float64 `json:"amount"`
Confirmations int64 `json:"confirmations"`
Spendable bool `json:"spendable"`
}
// SignRawTransactionError models the data that contains script verification