From 795a55206a60f147322d61ca9c040f9193d6b5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=93=81=E5=93=A5?= Date: Mon, 6 May 2019 09:35:13 +0800 Subject: [PATCH] should the beta3 options changed to true? should the beta3 options changed to true? --- packages/plugin-eosjs2/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-eosjs2/src/index.js b/packages/plugin-eosjs2/src/index.js index 74b0be30..9605cd57 100644 --- a/packages/plugin-eosjs2/src/index.js +++ b/packages/plugin-eosjs2/src/index.js @@ -20,7 +20,7 @@ export default class ScatterEOS extends Plugin { socketService = _s; } - hookProvider(network, fieldsFetcher = null, beta3 = false){ + hookProvider(network, fieldsFetcher = null, beta3 = true){ network = Network.fromJson(network); return { @@ -64,7 +64,7 @@ export default class ScatterEOS extends Plugin { let requiredFields = {}; const fieldsFetcher = () => requiredFields; - const signatureProvider = this.hookProvider(network, fieldsFetcher, _options.beta3 || false); + const signatureProvider = this.hookProvider(network, fieldsFetcher, _options.beta3 || true); // The proxy stands between the eosjs object and scatter. // This is used to add special functionality like adding `requiredFields` arrays to transactions