File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ async function main() {
41
41
let selected = DashGov . selectEstimates ( estimates , startPeriod , endPeriod ) ;
42
42
let gobjData = DashGov . proposal . draftJson ( selected , {
43
43
name,
44
- url,
45
44
payment_address,
46
45
payment_amount,
46
+ url,
47
47
} ) ;
48
48
49
49
let now = Date . now ( ) ;
@@ -53,8 +53,8 @@ async function main() {
53
53
let gobjCollateralBytes = DashGov . serializeForCollateralTx ( gobj ) ;
54
54
let gobjCollateralHex = DashGov . utils . bytesToHex ( gobjCollateralBytes ) ;
55
55
56
- let gobjHashBytes = await DashGov . proposal . doubleSha256 ( gobjCollateralBytes ) ;
57
- let gobjId = DashGov . utils . bytesToHex ( gobjHashBytes ) ;
56
+ let gobjHashBytes = await DashGov . utils . doubleSha256 ( gobjCollateralBytes ) ;
57
+ let gobjId = DashGov . utils . hashToId ( gobjHashBytes ) ;
58
58
59
59
console . log (
60
60
"gobject prepare" ,
You can’t perform that action at this time.
0 commit comments