Add P2sh field to DecodeScriptResult.

This commit is contained in:
Dave Collins 2014-01-04 11:54:39 -06:00
parent f78d054700
commit e1053b4a95

View file

@ -71,6 +71,7 @@ type DecodeScriptResult struct {
ReqSigs int `json:"reqSigs,omitempty"` ReqSigs int `json:"reqSigs,omitempty"`
Type string `json:"type"` Type string `json:"type"`
Addresses []string `json:"addresses,omitempty"` Addresses []string `json:"addresses,omitempty"`
P2sh string `json:"p2sh"`
} }
// TxRawResult models the data from the getrawtransaction command. // TxRawResult models the data from the getrawtransaction command.