From c58351598f66448fd7bc193419b8761183491f0d Mon Sep 17 00:00:00 2001 From: Blaine Heffron Date: Tue, 11 Jun 2024 14:57:14 -0400 Subject: [PATCH] Update src/contract/assembled_transaction.ts better user instructions Co-authored-by: Chad Ostrowski <221614+chadoh@users.noreply.github.com> --- src/contract/assembled_transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contract/assembled_transaction.ts b/src/contract/assembled_transaction.ts index 1ebb74535..bdf4d8898 100644 --- a/src/contract/assembled_transaction.ts +++ b/src/contract/assembled_transaction.ts @@ -580,7 +580,7 @@ export class AssembledTransaction { */ async send(){ if(!this.signed){ - throw new Error("The transaction has not yet been signed. Run `sign` first."); + throw new Error("The transaction has not yet been signed. Run `sign` first, or use `signAndSend` instead."); } const typeChecked: AssembledTransaction = this; const sent = await SentTransaction.init(typeChecked, this.signed);