Skip to content

Commit

Permalink
fix: default was missing for Blockchain.submitSignedTx
Browse files Browse the repository at this point in the history
  • Loading branch information
rflechtner authored and Dudleyneedham committed Oct 12, 2020
1 parent fed394f commit 3cc920c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain/Blockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class Blockchain implements IBlockchainApi {

public static submitSignedTx(
tx: SubmittableExtrinsic,
opts: SubscriptionPromiseOptions
opts: SubscriptionPromiseOptions = {}
): Promise<SubmittableResult> {
return submitSignedTx(tx, opts.resolveOn, opts.rejectOn, opts.timeout)
}
Expand Down

0 comments on commit 3cc920c

Please sign in to comment.