Skip to content

Commit 89aaa66

Browse files
author
rafael
committed
fixes issue zooper-corp#4
1 parent e44fd91 commit 89aaa66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polkadot/state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function (RED) {
3232
const [result] = await Promise.all([
3333
eval(`api.${qtype}.${method}`),
3434
]);
35-
msg.payload = JSON.parse(JSON.stringify(result));
35+
msg.payload = JSON.parse(JSON.stringify(result.toHuman()));
3636
// Done
3737
node.send(msg);
3838
} catch (e) {

0 commit comments

Comments
 (0)