Skip to content

Commit 90080ff

Browse files
committed
solang 0.3.1
1 parent 2c0880b commit 90080ff

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

basics/pda-rent-payer/solang/solidity/pda-rent-payer.sol

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ contract pda_rent_payer {
2929
print("From: {:}".format(from.key));
3030
print("To: {:}".format(to.key));
3131

32-
// // Not working with Solang 0.3.1
33-
// from.lamports -= lamports;
34-
// to.lamports += lamports;
32+
from.lamports -= lamports;
33+
to.lamports += lamports;
3534
}
3635
}

basics/transfer-sol/solang/solidity/transfer-sol.sol

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ contract transfer_sol {
2323

2424
print("From: {:}".format(from.key));
2525
print("To: {:}".format(to.key));
26-
27-
// // // Not working with Solang 0.3.1
28-
// from.lamports -= lamports;
29-
// to.lamports += lamports;
26+
27+
from.lamports -= lamports;
28+
to.lamports += lamports;
3029
}
3130
}

0 commit comments

Comments
 (0)