Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samvel-vardanyan committed Sep 1, 2023
1 parent 7bf8115 commit 70cef53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contract/pkg/cache/ddc_bucket_contract_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,14 +686,15 @@ func (d *ddcBucketContractCached) AccountWithdrawUnbonded() error {
}

func (d *ddcBucketContractCached) GetAccounts() ([]types.AccountID, error) {
return d.ddcBucketContract.GetAccounts()
accounts, err := d.ddcBucketContract.GetAccounts()
return accounts, err
}

func (d *ddcBucketContractCached) BucketCreate(bucketParams bucket.BucketParams, clusterId bucket.ClusterId, ownerId types.OptionAccountID) (bucketId bucket.BucketId, err error) {
return d.ddcBucketContract.BucketCreate(bucketParams, clusterId, ownerId)
}

func (d *ddcBucketContractCached) BucketChangeOwner(bucketId bucket.BucketId, ownerId types.AccountID) error {
func (d *ddcBucketContractCached) BucketChangeOwner(bucketId bucket.BucketId, ownerId types.OptionAccountID) error {
return d.ddcBucketContract.BucketChangeOwner(bucketId, ownerId)
}

Expand Down

0 comments on commit 70cef53

Please sign in to comment.