Skip to content

Commit

Permalink
Changing state signing mechanism, all nodes should be updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyuhel committed May 21, 2018
1 parent 2929797 commit a305e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logic/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

Expand Down

0 comments on commit a305e2b

Please sign in to comment.