fix: allow messages to be compiled without instructions (#17621)
* fix: allow messages to be compiled without instructions * chore: fix tests
This commit is contained in:
@@ -214,7 +214,7 @@ export class Transaction {
|
||||
}
|
||||
|
||||
if (this.instructions.length < 1) {
|
||||
throw new Error('No instructions provided');
|
||||
console.warn('No instructions provided');
|
||||
}
|
||||
|
||||
let feePayer: PublicKey;
|
||||
|
Reference in New Issue
Block a user