[bitcoin/bitcoin] wallet: Replace %w by wallet name in -walletnotify script (#13339)

luke-jr commented on this pull request.

> @@ -24,7 +24,8 @@ def setup_network(self):
“-blocknotify=echo %%s >> %s” % self.block_filename],
[“-blockversion=211”,
“-rescan”,
– “-walletnotify=echo %%s >> %s” % self.tx_filename]]
+ “-wallet=t- 1”,
+ “-walletnotify=echo %%w:%%s >> %s” % self.tx_filename]]

This would work even without %w properly escaped.

This post was last modified on July 7, 2018, 6:27 pm