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

MarcoFalke 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]]

Could just use `’…%w:%s >> {}’.format(self.tx_filename)` to avoid this confusion.

This post was last modified on July 8, 2018, 8:56 am