Skip to content

Commit

Permalink
versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
MutsiMutsi committed Jul 21, 2022
1 parent 8f5eaf3 commit 509b152
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func subscribeToPubSub(topic string) bool {
}

updateTopicSubscriptionState(topic, 1)
txnHash, err := client.Subscribe("", topic, constants.SubscriptionDuration, "Surge Beta Client", config)
txnHash, err := client.Subscribe("", topic, constants.SubscriptionDuration, constants.TransactionMeta, config)
if err != nil {
log.Println("Subsription transaction failed for topic:", topic, "error:", err)
updateTopicSubscriptionState(topic, 1)
Expand Down
3 changes: 3 additions & 0 deletions backend/constants/configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ const (
TeamAddressA = "7a48870a43d1512e467e8df103b1dee8d908f297ffe1fb45e81317965597bc7c"
TeamAddressB = "44734f736b31e522e9be64a812cf42d0822c765f4bc13404d3169ff8e3d54c9e"
TeamAddressC = "68a10e26288b9e97fc97362eb935574dd3db74004f0081918ee121d15ed1d29b"

//Meta payload for onchain transactions
TransactionMeta = "Surge 2.0 Client"
)
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func main() {
WebviewIsTransparent: true,
WindowIsTranslucent: true,
About: &mac.AboutInfo{
Title: "Surge v1.0 - P2P on steroids",
Title: "Surge v2.0 - P2P on steroids",
Message: "© 2020-2022 rule110",
},
},
Expand Down

0 comments on commit 509b152

Please sign in to comment.