From 0510dbae6cbcc37e8cbcecc0a608673675f7de47 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 22 Oct 2018 22:30:48 -0700 Subject: [PATCH] fix(flow): add sendAndConfirmTransaction --- web3.js/module.flow.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index df005b2392..5bb0cecead 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -177,4 +177,12 @@ declare module '@solana/web3.js' { programName: string, ): Promise; } + + // === src/util/send-and-confirm-transaction.js === + declare export function sendAndConfirmTransaction( + connection: Connection, + from: Account, + transaction: Transaction, + runtimeErrorOk?: boolean, + ): Promise; }