mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Improved local tx error messages (RIPD-720)
Failed local built transactions report the specific error.
This commit is contained in:
committed by
Tom Ritchford
parent
1fedede771
commit
5e70db651d
@@ -485,17 +485,8 @@ transactionSign (
|
||||
|
||||
stpTrans->sign (keypair.secretKey);
|
||||
|
||||
Transaction::pointer tpTrans;
|
||||
|
||||
try
|
||||
{
|
||||
tpTrans = std::make_shared<Transaction> (stpTrans, Validate::NO);
|
||||
}
|
||||
catch (std::exception&)
|
||||
{
|
||||
return RPC::make_error (rpcINTERNAL,
|
||||
"Exception occurred during transaction");
|
||||
}
|
||||
Transaction::pointer tpTrans = std::make_shared<Transaction> (stpTrans,
|
||||
Validate::NO, reason);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user