Skip to content

Commit 8be45f6

Browse files
author
Jayash Satolia
committed
Fix build
1 parent dc61ee9 commit 8be45f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cmd/newallocation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ var newallocationCmd = &cobra.Command{
284284
}
285285

286286
allocationID, _, _, err = sdk.CreateAllocationForOwner(owner, ownerPublicKey, *datashards, *parityshards,
287-
*size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams)
287+
*size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams, 0)
288288
if err != nil {
289289
log.Fatal("Error creating allocation: ", err)
290290
}

cmd/updateallocation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ var updateAllocationCmd = &cobra.Command{
131131
allocUnderRepair = true
132132
if txnHash, err := allocationObj.UpdateWithRepair(
133133
size,
134+
0,
134135
extend,
135136
lock,
136137
addBlobberId,
@@ -154,6 +155,7 @@ var updateAllocationCmd = &cobra.Command{
154155
} else {
155156
txnHash, _, err := sdk.UpdateAllocation(
156157
size,
158+
0,
157159
extend,
158160
allocID,
159161
lock,

0 commit comments

Comments
 (0)