File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ module Account =
223
223
else
224
224
transactionProposal.Amount.ValueToSend + fee.FeeValue
225
225
Caching.Instance.StoreOutgoingTransaction
226
- transactionProposal.OriginAddress
226
+ transactionProposal.OriginMainAddress
227
227
transactionProposal.Amount.Currency
228
228
fee.Currency
229
229
txId
@@ -445,7 +445,7 @@ module Account =
445
445
446
446
let transactionProposal =
447
447
{
448
- OriginAddress = baseAccount.PublicAddress
448
+ OriginMainAddress = baseAccount.PublicAddress
449
449
Amount = amount
450
450
DestinationAddress = destination
451
451
}
Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ module internal Account =
487
487
488
488
let txDetails =
489
489
{
490
- OriginAddress = signer.GetSenderAddress signedTransaction.RawTransaction
490
+ OriginMainAddress = signer.GetSenderAddress signedTransaction.RawTransaction
491
491
Amount = UnitConversion.Convert.FromWei ( IntTypeDecoder() .DecodeBigInteger tx.Value)
492
492
Currency = getTransactionCurrency tx
493
493
DestinationAddress = destAddress
Original file line number Diff line number Diff line change 1
1
namespace GWallet.Backend
2
2
3
3
type ITransactionDetails =
4
- abstract member OriginAddress : string
4
+ abstract member OriginMainAddress : string
5
5
abstract member Amount: decimal
6
6
abstract member Currency: Currency
7
7
abstract member DestinationAddress: string
8
8
9
9
type internal SignedTransactionDetails =
10
10
{
11
- OriginAddress : string
11
+ OriginMainAddress : string
12
12
Amount: decimal
13
13
Currency: Currency
14
14
DestinationAddress: string
15
15
}
16
16
interface ITransactionDetails with
17
- member self.OriginAddress = self.OriginAddress
17
+ member self.OriginMainAddress = self.OriginMainAddress
18
18
member self.Amount = self.Amount
19
19
member self.Currency = self.Currency
20
20
member self.DestinationAddress = self.DestinationAddress
21
21
22
22
type UnsignedTransactionProposal =
23
23
{
24
- OriginAddress : string ;
24
+ OriginMainAddress : string
25
25
Amount: TransferAmount ;
26
26
DestinationAddress: string ;
27
27
}
28
28
interface ITransactionDetails with
29
- member self.OriginAddress = self.OriginAddress
29
+ member self.OriginMainAddress = self.OriginMainAddress
30
30
member self.Amount = self.Amount.ValueToSend
31
31
member self.Currency = self.Amount.Currency
32
32
member self.DestinationAddress = self.DestinationAddress
Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ module Account =
759
759
failwith " expected a single destination address"
760
760
761
761
{
762
- OriginAddress = ( account :> IAccount ). PublicAddress
762
+ OriginMainAddress = ( account :> IAccount ). PublicAddress
763
763
DestinationAddress = destinationAddress.ToString()
764
764
Amount = value.ToDecimal MoneyUnit.BTC
765
765
Currency = currency
You can’t perform that action at this time.
0 commit comments