Changed to CashAddr

This commit is contained in:
Rick Falkvinge
2019-03-04 09:53:09 +01:00
parent 77b4c48e65
commit ce607c49dc
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
this.BoxTitle.Text = Resources.Pages.Admin.BitcoinEchoTest_PageTitle;
this.LabelExplainBitcoinEchoTest.Text = String.Format (Resources.Pages.Admin.BitcoinEchoTest_Explain,
CurrentOrganization.Name, address.ProtocolLevelAddress, BitcoinUtility.EchoFeeSatoshis / 100.0);
CurrentOrganization.Name, address.HumanAddress, BitcoinUtility.EchoFeeSatoshis / 100.0);
this.ImageBitcoinQr.ImageUrl =
"https://chart.googleapis.com/chart?cht=qr&chs=400x400&chl=" +
+3 -3
View File
@@ -83,13 +83,13 @@ namespace Swarmops.Frontend.Pages.v5.Financial
this.BoxTitle.Text = Resources.Pages.Financial.Donate_PageTitle;
this.LabelExplainBitcoinDonation.Text = String.Format (Resources.Pages.Financial.Donate_Explain,
CurrentOrganization.Name, address.ProtocolLevelAddress);
CurrentOrganization.Name, address.HumanAddress);
this.LabelReceivedFunds.Text = String.Format(Resources.Pages.Financial.Donate_FundsReceivedLabel,
CurrentOrganization.Currency.DisplayCode);
this.ImageBitcoinQr.ImageUrl =
"https://chart.googleapis.com/chart?cht=qr&chs=400x400&chl=bitcoincash:" +
HttpUtility.UrlEncode (address.ProtocolLevelAddress + "?label=" +
"https://chart.googleapis.com/chart?cht=qr&chs=400x400&chl=" +
HttpUtility.UrlEncode (address.HumanAddress + "?label=" +
Uri.EscapeDataString (String.Format (Resources.Pages.Financial.Donate_TxLabel,
CurrentOrganization.Name))); // URI scheme doesn't like &, =
}