Skip to content

Commit

Permalink
Disable rescan on topup address import
Browse files Browse the repository at this point in the history
(References #95)
  • Loading branch information
nkostoulas committed Jul 3, 2019
1 parent 80f860b commit 648fc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attestation/attestclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func NewAttestClient(config *confpkg.Config, signerFlag ...bool) *AttestClient {
var pkWifTopup *btcutil.WIF
if topupAddrStr != "" && topupScriptStr != "" {
log.Printf("*Client* importing top-up addr: %s ...\n", topupAddrStr)
importErr := config.MainClient().ImportAddress(topupAddrStr)
importErr := config.MainClient().ImportAddressRescan(topupAddrStr, "", false)
if importErr != nil {
log.Printf("%s (%s)\n%v\n", WarningFailureImportingTopupAddress, topupAddrStr, importErr)
}
Expand Down

0 comments on commit 648fc77

Please sign in to comment.