OSDN Git Service

update GetAccountIndex
[bytom/vapor.git] / account / store.go
index 3c7f9dc..28e2b54 100644 (file)
@@ -13,7 +13,7 @@ type AccountStorer interface {
        SetAccount(*Account, bool) error
        GetAccountIDByAccountAlias(string) string
        GetAccountByAccountID(string) (*Account, error)
-       GetAccountIndex([]chainkd.XPub) []byte
+       GetAccountIndex([]chainkd.XPub) uint64
        DeleteAccountByAccountAlias(string)
        DeleteAccountByAccountID(string)
        DeleteRawProgram(common.Hash)