Skip to content

Commit 6891b15

Browse files
committed
avoid nil pointer exception if blockchain config missing
1 parent a6ee09c commit 6891b15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/indexer/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88

99
func main() {
1010
input := framework.Input[xrp.Block, *xrp.Config, xrp.Transaction]{
11+
DefaultConfig: new(xrp.Config),
1112
NewBlockchainClient: xrp.New,
1213
}
1314

0 commit comments

Comments
 (0)