diff --git a/account.go b/account.go index 9eedcbd..ac6a863 100644 --- a/account.go +++ b/account.go @@ -99,10 +99,9 @@ func newAccountFromHorizon(ha horizon.Account) *Account { account.Signers = []Signer{} for _, s := range ha.Signers { signer := Signer{ - PublicKey: s.PublicKey, - Weight: s.Weight, - Key: s.Key, - Type: s.Type, + Weight: s.Weight, + Key: s.Key, + Type: s.Type, } account.Signers = append(account.Signers, signer) } diff --git a/watcher.go b/watcher.go index cb82650..dcc9484 100644 --- a/watcher.go +++ b/watcher.go @@ -47,7 +47,7 @@ func (ms *MicroStellar) WatchLedgers(options ...*Options) (*LedgerWatcher, error } err := params.tx.GetClient().StreamLedgers(params.ctx, params.cursor, func(ledger horizon.Ledger) { - debugf("WatchLedger", "entry (%s) total_coins: %s, tx_count: %v, op_count: %v", ledger.ID, ledger.TotalCoins, ledger.TransactionCount, ledger.OperationCount) + debugf("WatchLedger", "entry (%s) total_coins: %s, op_count: %v", ledger.ID, ledger.TotalCoins, ledger.OperationCount) l := Ledger(ledger) w.Ch <- &l })