You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following RPCs: gettxout, getrawtransaction, decoderawtransaction, decodescript, gettransaction, and REST endpoints: /rest/tx, /rest/getutxos, /rest/block deprecated the following fields (which are no
longer returned in the responses by default): addresses, reqSigs.
The -deprecatedrpc=addresses flag must be passed for these fields to be
included in the RPC response. This flag/option will be available until v23, at which
point the deprecation will be removed entirely. Note that these fields are attributes of
the scriptPubKey object returned in the RPC response. However, in the response
of decodescript these fields are top-level attributes, and included again as attributes
of the scriptPubKey object. (#20286)
Replacing ['scriptPubKey']['addresses'][0] in wallet_send_sign_psbt.jinja with ['scriptPubKey']['address'] seems to do the trick.
The text was updated successfully, but these errors were encountered:
ben-kaufman
added a commit
to ben-kaufman/specter-desktop
that referenced
this issue
May 23, 2021
bitcoin/bitcoin#20286
gettxout
,getrawtransaction
,decoderawtransaction
,decodescript
,gettransaction
, and REST endpoints:/rest/tx
,/rest/getutxos
,/rest/block
deprecated the following fields (which are nolonger returned in the responses by default):
addresses
,reqSigs
.The
-deprecatedrpc=addresses
flag must be passed for these fields to beincluded in the RPC response. This flag/option will be available until v23, at which
point the deprecation will be removed entirely. Note that these fields are attributes of
the
scriptPubKey
object returned in the RPC response. However, in the responseof
decodescript
these fields are top-level attributes, and included again as attributesof the
scriptPubKey
object. (#20286)Replacing
['scriptPubKey']['addresses'][0]
inwallet_send_sign_psbt.jinja
with['scriptPubKey']['address']
seems to do the trick.The text was updated successfully, but these errors were encountered: