Skip to content

Commit efdf908

Browse files
committed
bug fixes
1 parent 7fc8b68 commit efdf908

11 files changed

Lines changed: 4 additions & 4 deletions

File tree

Binary file not shown.
Binary file not shown.

.vs/BitNav/v17/.suo

3.5 KB
Binary file not shown.

BitNav/Transaction.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace BitNav
1515
public class Transaction
1616
{
1717
private object coin;
18-
private int amount;
18+
private double amount;
1919
private string address;
2020
private string transactionHash;
2121
private long creationTime;
@@ -25,7 +25,7 @@ public class Transaction
2525
public event EventHandler<TransactionEventArgs> TransactionReceived;
2626
public event EventHandler<TransactionEventArgs> TransactionConfirmed;
2727

28-
public Transaction(object coin, int amount, string address)
28+
public Transaction(object coin, double amount, string address)
2929
{
3030
this.coin = coin;
3131
this.amount = amount;
@@ -173,7 +173,7 @@ public long getConfirmationTime()
173173
{
174174
return confirmationTime;
175175
}
176-
public int getAmount()
176+
public double getAmount()
177177
{
178178
return amount;
179179
}

BitNav/TransactionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private void checkTransactions()
6464

6565
}
6666
//create Transaction
67-
public Transaction CreateTransaction(object coin, int amount, string address)
67+
public Transaction CreateTransaction(object coin, double amount, string address)
6868
{
6969
Transaction transaction = new Transaction(coin, amount, address);
7070
transactions.Add(transaction);

BitNav/bin/Debug/net6.0/BitNav.dll

0 Bytes
Binary file not shown.

BitNav/bin/Debug/net6.0/BitNav.pdb

0 Bytes
Binary file not shown.

BitNav/obj/Debug/net6.0/BitNav.dll

0 Bytes
Binary file not shown.

BitNav/obj/Debug/net6.0/BitNav.pdb

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)