diff --git a/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js b/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js index 416d3881a6..81a65581f6 100644 --- a/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js +++ b/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js @@ -276,7 +276,7 @@ export default Ae.compose({ } return this.rpcClient.request( METHODS.sign, - { onAccount: opt.onAccount, tx, returnSigned: false, networkId: this.getNetworkId() } + { onAccount: opt.onAccount, tx, returnSigned: false, networkId: this.getNetworkId(opt) } ) } } diff --git a/test/environment/aepp.html b/test/environment/aepp.html new file mode 100644 index 0000000000..8ba9ad2b3f --- /dev/null +++ b/test/environment/aepp.html @@ -0,0 +1,63 @@ + + +
+ +