diff --git a/src.ts/transaction/transaction.ts b/src.ts/transaction/transaction.ts index c024640b4..883aa9c12 100644 --- a/src.ts/transaction/transaction.ts +++ b/src.ts/transaction/transaction.ts @@ -1164,12 +1164,12 @@ export class Transaction implements TransactionLike { if (tx.blobs != null) { result.blobs = tx.blobs; } if (tx.hash != null) { - assertArgument(result.isSigned(), "unsigned transaction cannot define hash", "tx", tx); + assertArgument(result.isSigned(), "unsigned transaction cannot define '.hash'", "tx", tx); assertArgument(result.hash === tx.hash, "hash mismatch", "tx", tx); } if (tx.from != null) { - assertArgument(result.isSigned(), "unsigned transaction cannot define from", "tx", tx); + assertArgument(result.isSigned(), "unsigned transaction cannot define '.from'", "tx", tx); assertArgument(result.from.toLowerCase() === (tx.from || "").toLowerCase(), "from mismatch", "tx", tx); }