File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
etherspace-java/src/main/java/cc/etherspace Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11package cc.etherspace
22
3- import cc.etherspace.EtherSpace.Companion.GET_TRANSACTION_RECEIPT_POLLING_ATTEMPTS
43import kotlinx.coroutines.experimental.delay
54import java.io.IOException
65
@@ -13,8 +12,12 @@ data class TransactionHash(private val web3: Web3,
1312 if (! transactionReceipt.success) throw TransactionFailedException (transactionReceipt)
1413 return transactionReceipt
1514 }
16- delay(GET_TRANSACTION_RECEIPT_POLLING_ATTEMPTS )
15+ delay(EtherSpace . GET_TRANSACTION_RECEIPT_POLLING_INTERVAL_IN_MS )
1716 }
1817 throw IOException (" transactionTimeout:transactionHash=$this " )
1918 }
19+
20+ override fun toString (): String {
21+ return " TransactionHash(hash='$hash ')"
22+ }
2023}
You can’t perform that action at this time.
0 commit comments