mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
Merge bitcoin/bitcoin#31987: wallet: Replace "non-0" with "non-zero" in translatable error message
18e83534acwallet: Replace "non-0" with "non-zero" in translatable error message (Hennadii Stepanov) Pull request description: Transifex interprets the "-0" substring as a number in translatable strings. Since not all translations preserve "-0," this triggers a corresponding warning. While this warning could be disabled globally, it is more reasonable to adjust the original string instead. ACKs for top commit: davidgumberg: ACK18e83534acl0rinc: ACK18e83534ac1440000bytes: ACK18e83534acBrandonOdiwuor: Code Review ACK18e83534aclaanwj: Code review ACK18e83534acTree-SHA512: 5c38cfc4b352dbbcc8de5fb907cf988a77a7ecded7a90fe0517bfb9e4cd5097bdeb1aa6edf5d9ca37de54d1d7939d5e49533ec93c403db90d9169ad7732e5124
This commit is contained in:
@@ -999,7 +999,7 @@ class PSBTTest(BitcoinTestFramework):
|
||||
{'hex': '0200000001dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd0000000000000000000100000000000000000000000000', 'complete': True})
|
||||
|
||||
self.log.info("Test we don't crash when making a 0-value funded transaction at 0 fee without forcing an input selection")
|
||||
assert_raises_rpc_error(-4, "Transaction requires one destination of non-0 value, a non-0 feerate, or a pre-selected input", self.nodes[0].walletcreatefundedpsbt, [], [{"data": "deadbeef"}], 0, {"fee_rate": "0"})
|
||||
assert_raises_rpc_error(-4, "Transaction requires one destination of non-zero value, a non-zero feerate, or a pre-selected input", self.nodes[0].walletcreatefundedpsbt, [], [{"data": "deadbeef"}], 0, {"fee_rate": "0"})
|
||||
|
||||
self.log.info("Test descriptorprocesspsbt updates and signs a psbt with descriptors")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user