From a305e2beb7cfa1842f654f9102b1db98d1bcab03 Mon Sep 17 00:00:00 2001 From: Zyuhel Date: Tue, 22 May 2018 01:19:44 +0300 Subject: [PATCH] Changing state signing mechanism, all nodes should be updated. --- logic/state.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/state.js b/logic/state.js index 1276b712..6eced49c 100644 --- a/logic/state.js +++ b/logic/state.js @@ -132,11 +132,11 @@ State.prototype.getBytes = function (trs) { try { buf = Buffer.from([]); - var stateBuf = Buffer.from(trs.asset.state.value, 'hex'); + var stateBuf = Buffer.from(trs.asset.state.value); buf = Buffer.concat([buf, stateBuf]); if (trs.asset.state.key) { - var keyBuf = Buffer.from(trs.asset.state.key, 'hex'); + var keyBuf = Buffer.from(trs.asset.state.key); buf = Buffer.concat([buf, keyBuf]); }