fixed contract address handling

This commit is contained in:
Stephan D
2026-02-27 14:24:43 +01:00
parent 92253de6f3
commit bec969cf8b
7 changed files with 57 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func TestNewRailGateway_NormalizesRail(t *testing.T) {
gw := NewRailGateway(nil, RailGatewayConfig{Rail: "card_payout", Network: "tron"})
gw := NewRailGateway(nil, RailGatewayConfig{Rail: "card", Network: "tron"})
if got, want := gw.Rail(), discovery.RailCardPayout; got != want {
t.Fatalf("unexpected rail: got=%q want=%q", got, want)
}