Skip to content

Commit 0cf6aec

Browse files
committed
(fix) Updated example scripts
1 parent d55c55a commit 0cf6aec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/explorer/1_GetTxByHash/example.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717
}
1818

1919
ctx := context.Background()
20-
hash := "6C6DA1FEFF83570C467951D9E002543115C0C4672DA14813E92BD5C6A6CD318B"
20+
hash := "E5DCF04CC670A0567F58683409F7DAFC49754278DAAD507FE6EB40DFBFD71830"
2121
res, err := explorerClient.GetTxByTxHash(ctx, hash)
2222
if err != nil {
2323
fmt.Println(err)

examples/explorer/2_AccountTxs/example.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ import (
1212
)
1313

1414
func main() {
15-
network := common.LoadNetwork("mainnet", "lb")
15+
network := common.LoadNetwork("testnet", "lb")
1616
explorerClient, err := explorerclient.NewExplorerClient(network)
1717
if err != nil {
1818
panic(err)
1919
}
2020

21-
address := "inj1ghlynf7z25zql6kpu958wqlvmlwrhpp0a4cu9p"
22-
after := uint64(137677300)
21+
address := "inj1akxycslq8cjt0uffw4rjmfm3echchptu52a2dq"
22+
after := uint64(14112176)
2323

2424
req := explorerPB.GetAccountTxsRequest{
2525
After: after,

0 commit comments

Comments
 (0)