From 13b6748b814ac1179364b439665e6f5d84cfa58e Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 8 Jan 2020 19:06:28 -0500 Subject: [PATCH] fix pluginUDapp calling udapp --- src/blockchain/pluginUDapp.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blockchain/pluginUDapp.js b/src/blockchain/pluginUDapp.js index a6ece20ddb..dec4b51d1d 100644 --- a/src/blockchain/pluginUDapp.js +++ b/src/blockchain/pluginUDapp.js @@ -15,19 +15,19 @@ class PluginUdapp { } createVMAccount (newAccount) { - return this.blockchain.udapp.createVMAccount(newAccount) + return this.blockchain.createVMAccount(newAccount) } sendTransaction (tx) { - return this.blockchain.udapp.sendTransaction(tx) + return this.blockchain.sendTransaction(tx) } getAccounts (cb) { - return this.blockchain.udapp.getAccounts(cb) + return this.blockchain.getAccounts(cb) } pendingTransactionsCount () { - return this.blockchain.udapp.pendingTransactionsCount() + return this.blockchain.pendingTransactionsCount() } }