Skip to content

Commit

Permalink
whack a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jrick committed Aug 3, 2022
1 parent aa43a44 commit 3d518ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3791,7 +3791,6 @@ func (w *Wallet) ImportPublicKey(ctx context.Context, pubkey []byte) (string, er
var props *udb.AccountProperties
err := walletdb.Update(ctx, w.db, func(tx walletdb.ReadWriteTx) error {
addrmgrNs := tx.ReadWriteBucket(waddrmgrNamespaceKey)
//maddr, err := w.manager.ImportPrivateKey(addrmgrNs, wif)
maddr, err := w.manager.ImportPublicKey(addrmgrNs, pubkey)
if err == nil {
addr = maddr.Address()
Expand Down

0 comments on commit 3d518ea

Please sign in to comment.