multi: switch from bolt packge to bbolt package for all imports
This commit is contained in:
41 files changed
+404
-405
No files matched your search
@@ -1350,7 +1350,7 @@ func (s *Switch) closeCircuit(pkt *htlcPacket) (*PaymentCircuit, error) {
|
||||
// we're the originator of the payment, so the link stops attempting to
|
||||
// re-broadcast.
|
||||
func (s *Switch) ackSettleFail(settleFailRef channeldb.SettleFailRef) error {
|
||||
return s.cfg.DB.Batch(func(tx *bolt.Tx) error {
|
||||
return s.cfg.DB.Batch(func(tx *bbolt.Tx) error {
|
||||
return s.cfg.SwitchPackager.AckSettleFails(tx, settleFailRef)
|
||||
})
|
||||
}
|
||||
@@ -1760,7 +1760,7 @@ func (s *Switch) reforwardResponses() error {
|
||||
func (s *Switch) loadChannelFwdPkgs(source lnwire.ShortChannelID) ([]*channeldb.FwdPkg, error) {
|
||||
|
||||
var fwdPkgs []*channeldb.FwdPkg
|
||||
if err := s.cfg.DB.Update(func(tx *bolt.Tx) error {
|
||||
if err := s.cfg.DB.Update(func(tx *bbolt.Tx) error {
|
||||
var err error
|
||||
fwdPkgs, err = s.cfg.SwitchPackager.LoadChannelFwdPkgs(
|
||||
tx, source,
|
||||
|
||||
Reference in new issue
Block a user