@@ -321,7 +321,7 @@ func mustAdd(t *testing.T, mp *MessagePool, msg *types.SignedMessage) {
321
321
func newWalletAndMpool (t * testing.T , tma * testMpoolAPI ) (* wallet.Wallet , * MessagePool ) {
322
322
ds := datastore .NewMapDatastore ()
323
323
324
- mp , err := New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
324
+ mp , err := New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
325
325
if err != nil {
326
326
t .Fatal (err )
327
327
}
@@ -518,7 +518,7 @@ func TestLoadLocal(t *testing.T) {
518
518
tma := newTestMpoolAPI ()
519
519
ds := datastore .NewMapDatastore ()
520
520
521
- mp , err := New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
521
+ mp , err := New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
522
522
if err != nil {
523
523
t .Fatal (err )
524
524
}
@@ -554,7 +554,7 @@ func TestLoadLocal(t *testing.T) {
554
554
t .Fatal (err )
555
555
}
556
556
557
- mp , err = New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
557
+ mp , err = New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
558
558
if err != nil {
559
559
t .Fatal (err )
560
560
}
@@ -585,7 +585,7 @@ func TestClearAll(t *testing.T) {
585
585
tma := newTestMpoolAPI ()
586
586
ds := datastore .NewMapDatastore ()
587
587
588
- mp , err := New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
588
+ mp , err := New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
589
589
if err != nil {
590
590
t .Fatal (err )
591
591
}
@@ -633,7 +633,7 @@ func TestClearNonLocal(t *testing.T) {
633
633
tma := newTestMpoolAPI ()
634
634
ds := datastore .NewMapDatastore ()
635
635
636
- mp , err := New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
636
+ mp , err := New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
637
637
if err != nil {
638
638
t .Fatal (err )
639
639
}
@@ -688,7 +688,7 @@ func TestUpdates(t *testing.T) {
688
688
tma := newTestMpoolAPI ()
689
689
ds := datastore .NewMapDatastore ()
690
690
691
- mp , err := New (tma , ds , config .DefaultForkUpgradeParam , "mptest" , nil , nil , nil )
691
+ mp , err := New (tma , ds , config .DefaultForkUpgradeParam , config . DefaultMessagePoolParam , "mptest" , nil , nil , nil )
692
692
if err != nil {
693
693
t .Fatal (err )
694
694
}
0 commit comments