Skip to content

Commit a63e143

Browse files
committed
rename payment script to scriptpubkey
1 parent 349539c commit a63e143

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

BitcoinAddress/Program.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
using System;
2+
using System.Linq;
3+
using System.Runtime.InteropServices;
24
using NBitcoin;
5+
using NBitcoin.DataEncoders;
6+
37
// ReSharper disable All
48

59
namespace BitcoinAddress
@@ -23,7 +27,7 @@ static void Main()
2327

2428
Console.WriteLine(mainNetAddress); // 1PUYsjwfNmX64wS368ZR5FMouTtUmvtmTY
2529
Console.WriteLine(testNetAddress); // n3zWAo2eBnxLr3ueohXnuAa8mTVBhxmPhq
26-
30+
2731
Console.ReadLine();
2832
}
2933
}
File renamed without changes.

ProgrammingBlockchainCodeExamples.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1.1BitcoinAddress", "BitcoinAddress\1.1BitcoinAddress.csproj", "{E8594880-7F0B-424C-9205-1F9E84A072ED}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1.2PaymentScript", "PaymentScript\1.2PaymentScript.csproj", "{4A71F9D4-6017-4429-8771-7657C7027288}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1.2ScriptPubKey", "PaymentScript\1.2ScriptPubKey.csproj", "{4A71F9D4-6017-4429-8771-7657C7027288}"
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "1.3PrivateKey", "PrivateKey\1.3PrivateKey.csproj", "{8F4F2562-A2CA-4885-8638-F71CC44F5648}"
1111
EndProject

0 commit comments

Comments
 (0)