OSDN Git Service

update
authorChengcheng Zhang <943420582@qq.com>
Thu, 4 Jul 2019 08:09:53 +0000 (16:09 +0800)
committerChengcheng Zhang <943420582@qq.com>
Thu, 4 Jul 2019 08:09:53 +0000 (16:09 +0800)
wallet/store.go

index 673487b..d192645 100644 (file)
@@ -23,7 +23,7 @@ type WalletStore interface {
        GetStandardUTXO(bc.Hash) (*acc.UTXO, error)
        GetTransaction(string) (*query.AnnotatedTx, error)
        GetUnconfirmedTransaction(string) (*query.AnnotatedTx, error)
-       GetRecoveryStatus([]byte) []byte     // recoveryManager.state isn't exported outside
+       GetRecoveryStatus([]byte) []byte
        GetWalletInfo() (*StatusInfo, error) // need move database.NewWalletStore in wallet package
        ListAccountUTXOs(string) ([]*acc.UTXO, error)
        ListTransactions(string, string, uint, bool) ([]*query.AnnotatedTx, error)
@@ -34,5 +34,5 @@ type WalletStore interface {
        SetRecoveryStatus([]byte, []byte) // recoveryManager.state isn't exported outside
        SetTransaction(uint64, *query.AnnotatedTx) error
        SetUnconfirmedTransaction(string, *query.AnnotatedTx) error
-       SetWalletInfo(*StatusInfo) error // need move database.NewWalletStore in wallet package
+       SetWalletInfo(*StatusInfo) error
 }