diff --git a/cmd/newallocation.go b/cmd/newallocation.go index 8bcdf2a5..14026e8d 100755 --- a/cmd/newallocation.go +++ b/cmd/newallocation.go @@ -284,7 +284,7 @@ var newallocationCmd = &cobra.Command{ } allocationID, _, _, err = sdk.CreateAllocationForOwner(owner, ownerPublicKey, *datashards, *parityshards, - *size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams) + *size, readPrice, writePrice, lock, preferred_blobbers, blobber_auth_tickets, thirdPartyExtendable, isEnterprise, force, &fileOptionParams, 0) if err != nil { log.Fatal("Error creating allocation: ", err) } diff --git a/cmd/updateallocation.go b/cmd/updateallocation.go index aacb5ae9..b5b348ff 100755 --- a/cmd/updateallocation.go +++ b/cmd/updateallocation.go @@ -131,6 +131,7 @@ var updateAllocationCmd = &cobra.Command{ allocUnderRepair = true if txnHash, err := allocationObj.UpdateWithRepair( size, + 0, extend, lock, addBlobberId, @@ -154,6 +155,7 @@ var updateAllocationCmd = &cobra.Command{ } else { txnHash, _, err := sdk.UpdateAllocation( size, + 0, extend, allocID, lock,