chore: run pretty
This commit is contained in:
parent
b3319452e5
commit
c6f828b06a
|
@ -31,9 +31,7 @@ function showBalance() {
|
|||
`Account2: ${account2.publicKey} has a balance of ${toBalance}`,
|
||||
);
|
||||
console.log(
|
||||
`Contract State: ${
|
||||
contractState.publicKey
|
||||
} has a balance of ${contractStateBalance}`,
|
||||
`Contract State: ${contractState.publicKey} has a balance of ${contractStateBalance}`,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -32,9 +32,7 @@ function showBalance() {
|
|||
`Account2: ${account2.publicKey} has a balance of ${toBalance}`,
|
||||
);
|
||||
console.log(
|
||||
`Contract State: ${
|
||||
contractState.publicKey
|
||||
} has a balance of ${contractStateBalance}`,
|
||||
`Contract State: ${contractState.publicKey} has a balance of ${contractStateBalance}`,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -277,9 +277,7 @@ export class BudgetProgram {
|
|||
|
||||
default:
|
||||
throw new Error(
|
||||
`A maximum of two conditions are support: ${
|
||||
conditions.length
|
||||
} provided`,
|
||||
`A maximum of two conditions are support: ${conditions.length} provided`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -203,9 +203,7 @@ export class Transaction {
|
|||
|
||||
if (numRequiredSignatures > this.signatures.length) {
|
||||
throw new Error(
|
||||
`Insufficent signatures: expected ${numRequiredSignatures} but got ${
|
||||
this.signatures.length
|
||||
}`,
|
||||
`Insufficent signatures: expected ${numRequiredSignatures} but got ${this.signatures.length}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue