Skip to content

Commit 1d2d1de

Browse files
committed
remove unused code
1 parent 49ec58a commit 1d2d1de

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

zboxcore/sdk/allocation.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,13 @@ import (
2121
. "github.com/0chain/gosdk/zboxcore/logger"
2222
"github.com/0chain/gosdk/zboxcore/marker"
2323
"github.com/0chain/gosdk/zboxcore/zboxutil"
24-
"github.com/0chain/gosdk/zcncore"
2524
)
2625

2726
var (
2827
noBLOBBERS = errors.New("No Blobbers set in this allocation")
2928
notInitialized = common.NewError("sdk_not_initialized", "Please call InitStorageSDK Init and use GetAllocation to get the allocation object")
3029
)
3130

32-
type TransactionCallback struct {
33-
wg *sync.WaitGroup
34-
}
35-
36-
func (t *TransactionCallback) OnTransactionComplete(zcntxn *zcncore.Transaction, status int) {
37-
t.wg.Done()
38-
}
39-
40-
func (t *TransactionCallback) OnVerifyComplete(zcntxn *zcncore.Transaction, status int) {
41-
t.wg.Done()
42-
}
43-
44-
func (t *TransactionCallback) OnAuthComplete(zcntxn *zcncore.Transaction, status int) {
45-
46-
}
47-
4831
type MetaOperation struct {
4932
CrudType string
5033
MetaData *ConsolidatedFileMeta

0 commit comments

Comments
 (0)