change error type

This commit is contained in:
dangell7
2023-01-14 23:13:24 -05:00
parent 87fe411483
commit 99e830606d

View File

@@ -944,7 +944,7 @@ trustTransferLockedBalance(
{
// in most circumstances a missing destination line is a deal breaker
if (actingAccID != dstAccID && srcAccID != dstAccID)
return tecNO_PERMISSION;
return tecNO_LINE;
STAmount dstBalanceDrops = sleDstAcc->getFieldAmount(sfBalance);