File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ export function Connect() {
53
53
const suggestedParams = await algodClient . getTransactionParams ( ) . do ( )
54
54
55
55
const transaction = algosdk . makePaymentTxnWithSuggestedParamsFromObject ( {
56
- from : activeAddress ,
57
- to : activeAddress ,
56
+ sender : activeAddress ,
57
+ receiver : activeAddress ,
58
58
amount : 0 ,
59
59
suggestedParams
60
60
} )
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ const sendTransaction = async (wallet: Wallet) => {
44
44
const suggestedParams = await algodClient .value .getTransactionParams ().do ()
45
45
46
46
const transaction = algosdk .makePaymentTxnWithSuggestedParamsFromObject ({
47
- from : wallet .activeAccount .address ,
48
- to : wallet .activeAccount .address ,
47
+ sender : wallet .activeAccount .address ,
48
+ receiver : wallet .activeAccount .address ,
49
49
amount: 0 ,
50
50
suggestedParams
51
51
})
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ export function Connect() {
50
50
const suggestedParams = await algodClient . getTransactionParams ( ) . do ( )
51
51
52
52
const transaction = algosdk . makePaymentTxnWithSuggestedParamsFromObject ( {
53
- from : activeAddress ,
54
- to : activeAddress ,
53
+ sender : activeAddress ,
54
+ receiver : activeAddress ,
55
55
amount : 0 ,
56
56
suggestedParams
57
57
} )
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ export function Connect() {
54
54
const suggestedParams = await algodClient ( ) . getTransactionParams ( ) . do ( )
55
55
56
56
const transaction = algosdk . makePaymentTxnWithSuggestedParamsFromObject ( {
57
- from : sender ,
58
- to : sender ,
57
+ sender : sender ,
58
+ receiver : sender ,
59
59
amount : 0 ,
60
60
suggestedParams
61
61
} )
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ export class WalletComponent {
41
41
const suggestedParams = await this . manager . algodClient . getTransactionParams ( ) . do ( )
42
42
43
43
const transaction = algosdk . makePaymentTxnWithSuggestedParamsFromObject ( {
44
- from : activeAddress ,
45
- to : activeAddress ,
44
+ sender : activeAddress ,
45
+ receiver : activeAddress ,
46
46
amount : 0 ,
47
47
suggestedParams
48
48
} )
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ const sendTransaction = async (wallet: Wallet) => {
37
37
const suggestedParams = await algodClient .value .getTransactionParams ().do ()
38
38
39
39
const transaction = algosdk .makePaymentTxnWithSuggestedParamsFromObject ({
40
- from : wallet .activeAccount .address ,
41
- to : wallet .activeAccount .address ,
40
+ sender : wallet .activeAccount .address ,
41
+ receiver : wallet .activeAccount .address ,
42
42
amount: 0 ,
43
43
suggestedParams
44
44
})
You can’t perform that action at this time.
0 commit comments