File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -395,9 +395,9 @@ static UniValue SendLinkAccept(const JSONRPCRequest& request)
395
395
396
396
// Create OP Script with destination address
397
397
bool fStealthAddress = false ;
398
- CTxDestination dest = DecodeDestination (entryAcceptor .GetLinkAddress ().ToString ());
398
+ CTxDestination dest = DecodeDestination (entryRequestor .GetLinkAddress ().ToString ());
399
399
if (!IsValidDestination (dest))
400
- throw JSONRPCError (RPC_INVALID_ADDRESS_OR_KEY, strprintf (" Invalid destination address %s" , entryAcceptor .GetLinkAddress ().ToString ()));
400
+ throw JSONRPCError (RPC_INVALID_ADDRESS_OR_KEY, strprintf (" Invalid destination address %s" , entryRequestor .GetLinkAddress ().ToString ()));
401
401
402
402
CScript scriptDest;
403
403
std::vector<uint8_t > vStealthData;
@@ -407,7 +407,7 @@ static UniValue SendLinkAccept(const JSONRPCRequest& request)
407
407
std::string sError ;
408
408
if (0 != PrepareStealthOutput (sxAddr, scriptDest, vStealthData, sError )) {
409
409
LogPrintf (" %s -- PrepareStealthOutput failed. Error = %s\n " , __func__, sError );
410
- throw JSONRPCError (RPC_INVALID_ADDRESS_OR_KEY, strprintf (" Invalid stealth destination address %s" , entryAcceptor .GetLinkAddress ().ToString ()));
410
+ throw JSONRPCError (RPC_INVALID_ADDRESS_OR_KEY, strprintf (" Invalid stealth destination address %s" , entryRequestor .GetLinkAddress ().ToString ()));
411
411
}
412
412
fStealthAddress = true ;
413
413
}
You can’t perform that action at this time.
0 commit comments