Skip to content

Commit

Permalink
fix: NodeCreate method signature is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yahortsaryk committed Oct 17, 2023
1 parent 59ccce9 commit 6f3ba9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/pkg/mock/ddc_bucket_contract_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func (d *ddcBucketContractMock) ClusterList(offset types.U32, limit types.U32, f
panic("implement me")
}

func (d *ddcBucketContractMock) NodeCreate(ctx context.Context, keyPair signature.KeyringPair, nodeKey bucket.NodeKey, params bucket.Params, capacity bucket.Resource, rent bucket.Rent) (key bucket.NodeKey, err error) {
func (d *ddcBucketContractMock) NodeCreate(ctx context.Context, keyPair signature.KeyringPair, nodeKey bucket.NodeKey, params bucket.Params, capacity bucket.Resource, rent bucket.Rent) (blockHash types.Hash, err error) {
//TODO implement me
panic("implement me")
}
Expand Down

0 comments on commit 6f3ba9d

Please sign in to comment.