Skip to content

Commit 0732ad4

Browse files
committed
mobile: add RinkebyGenesis method
1 parent 3d32690 commit 0732ad4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎mobile/params.go‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ func TestnetGenesis() string {
4141
return string(enc)
4242
}
4343

44+
// RinkebyGenesis returns the JSON spec to use for the Rinkeby test network
45+
func RinkebyGenesis() string {
46+
enc, err := json.Marshal(core.DefaultRinkebyGenesisBlock())
47+
if err != nil {
48+
panic(err)
49+
}
50+
return string(enc)
51+
}
52+
4453
// FoundationBootnodes returns the enode URLs of the P2P bootstrap nodes operated
4554
// by the foundation running the V5 discovery protocol.
4655
func FoundationBootnodes() *Enodes {

0 commit comments

Comments
 (0)