Skip to content

Commit b9ee9f6

Browse files
committed
Merge 51c4ebb into merged_master (Elements PR ElementsProject#706)
2 parents b0bad27 + 51c4ebb commit b9ee9f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5214,7 +5214,7 @@ UniValue sendtomainchain_pak(const JSONRPCRequest& request)
52145214
//amount
52155215
CAmount nAmount = AmountFromValue(request.params[1]);
52165216
if (nAmount < 100000)
5217-
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid amount for send, must send more than 0.0001 BTC");
5217+
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid amount for send, must send more than 0.00100000 BTC");
52185218

52195219
bool subtract_fee = false;
52205220
if (request.params.size() > 2) {

test/functional/feature_pak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def run_test(self):
145145
self.log.info("Test various RPC arguments")
146146

147147
# Fail to peg-out too-small value
148-
assert_raises_rpc_error(-8, "Invalid amount for send, must send more than 0.0001 BTC", self.nodes[1].sendtomainchain, "", Decimal('0.0009'))
148+
assert_raises_rpc_error(-8, "Invalid amount for send, must send more than 0.00100000 BTC", self.nodes[1].sendtomainchain, "", Decimal('0.0009'))
149149

150150
# Use wrong network's extended pubkey
151151
mainnetxpub = "xpub6AATBi58516uxLogbuaG3jkom7x1qyDoZzMN2AePBuQnMFKUV9xC2BW9vXsFJ9rELsvbeGQcFWhtbyM4qDeijM22u3AaSiSYEvuMZkJqtLn"

0 commit comments

Comments
 (0)