OSDN Git Service

update
authorChengcheng Zhang <943420582@qq.com>
Thu, 23 May 2019 08:22:18 +0000 (16:22 +0800)
committerChengcheng Zhang <943420582@qq.com>
Thu, 23 May 2019 08:22:18 +0000 (16:22 +0800)
account/accounts.go

index 0e1c429..0dcb58e 100644 (file)
@@ -438,11 +438,14 @@ func (m *Manager) FindByID(id string) (*Account, error) {
        }
 
        account := &Account{}
+       fmt.Println("FindByID account is:111", account)
        fmt.Println("FindByID rawaccount is:", rawAccount, "====")
        os.Stdout.Write(rawAccount)
        fmt.Println("====")
        if err := json.Unmarshal(rawAccount, account); err != nil {
                fmt.Print("FindByID err: ", err)
+               fmt.Println("FindByID account is:222", account)
+               fmt.Println("FindByID account.XPubs is:333", account.XPubs)
                return nil, err
        }