Skip to content

Commit

Permalink
Update src/contract/assembled_transaction.ts
Browse files Browse the repository at this point in the history
better user instructions

Co-authored-by: Chad Ostrowski <[email protected]>
  • Loading branch information
BlaineHeffron and chadoh committed Jun 11, 2024
1 parent aed0587 commit c583515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/assembled_transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export class AssembledTransaction<T> {
*/
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<T> = this;
const sent = await SentTransaction.init(typeChecked, this.signed);
Expand Down

0 comments on commit c583515

Please sign in to comment.