File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ public struct JettonTransferMessage {
1414 bounce: Bool ,
1515 to: Address ,
1616 from: Address ,
17+ transferAmount: BigUInt = BigUInt ( stringLiteral: " 100000000 " ) ,
1718 comment: String ? = nil ,
1819 customPayload: Cell ? = nil ,
1920 stateInit: StateInit ? = nil
2021 ) throws -> MessageRelaxed {
2122 let forwardAmount = BigUInt ( stringLiteral: " 1 " )
22- let jettonTransferAmount = BigUInt ( stringLiteral: " 100000000 " )
2323 let queryId = UInt64 ( Date ( ) . timeIntervalSince1970)
2424
2525 var commentCell : Cell ?
@@ -37,7 +37,7 @@ public struct JettonTransferMessage {
3737
3838 return MessageRelaxed . internal (
3939 to: jettonAddress,
40- value: jettonTransferAmount ,
40+ value: transferAmount ,
4141 bounce: bounce,
4242 stateInit: stateInit,
4343 body: try Builder ( ) . store ( jettonTransferData) . endCell ( )
You can’t perform that action at this time.
0 commit comments