Skip to content

Commit

Permalink
use addrs with checksum when polling
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-moser committed Apr 5, 2019
1 parent f624bc7 commit c4d429d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion account/account_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package account_test

import (
"gopkg.in/h2non/gock.v1"
"github.com/iotaledger/iota.go/account/builder"
"github.com/iotaledger/iota.go/account/deposit"
"github.com/iotaledger/iota.go/account/event"
Expand All @@ -15,6 +14,7 @@ import (
"github.com/iotaledger/iota.go/trinary"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"gopkg.in/h2non/gock.v1"
"strings"
"time"

Expand Down
2 changes: 1 addition & 1 deletion account/plugins/transfer/poller/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (tp *TransferPoller) checkIncomingTransfers(depositRequests map[uint64]*sto
if req.TimeoutAt == nil {
continue
}
addr, err := tp.setts.AddrGen(keyIndex, req.SecurityLevel, false)
addr, err := tp.setts.AddrGen(keyIndex, req.SecurityLevel, true)
if err != nil {
return errors.Wrap(err, "unable to compute deposit address in incoming transfers op.")
}
Expand Down

0 comments on commit c4d429d

Please sign in to comment.