Skip to content

Commit 8c18f4e

Browse files
committed
f: WIP: README
1 parent 53d30c8 commit 8c18f4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ let gobj = {
4747
// hashParent: null,
4848
// revision: 1, // MUST be one
4949
time: secs,
50-
hexJson: proposalHex,
50+
dataHex: proposalHex,
5151
// signature: null,
5252
};
5353

5454
gobj = DashGov.normalize(gobj);
5555

5656
let gobjBytes = DashGov.serializeForCollateralTx(gobj);
57-
let gobjOpReturn = await DashGov.doubleSha256Hash(gobjBytes);
57+
let gobjOpReturn = await DashGov.utils.doubleSha256(gobjBytes);
5858

5959
let keyUtils = {
6060
getPrivateKey: function (info) {
@@ -81,7 +81,7 @@ let result = await RPC.request({
8181
gobj.hashParent,
8282
gobj.revision,
8383
gobj.time,
84-
gobj.hexJson,
84+
gobj.dataHex,
8585
txid,
8686
],
8787
});

0 commit comments

Comments
 (0)