diff --git a/jvm/sargon-android/src/main/java/com/radixdlt/sargon/extensions/TransactionManifest.kt b/jvm/sargon-android/src/main/java/com/radixdlt/sargon/extensions/TransactionManifest.kt index 4fda1cf3a..4234422a8 100644 --- a/jvm/sargon-android/src/main/java/com/radixdlt/sargon/extensions/TransactionManifest.kt +++ b/jvm/sargon-android/src/main/java/com/radixdlt/sargon/extensions/TransactionManifest.kt @@ -190,8 +190,8 @@ val TransactionManifest.summary: ManifestSummary get() = transactionManifestSummary(manifest = this) @Throws(SargonException::class) -fun TransactionManifest.executionSummary(encodedReceipt: BagOfBytes) = - transactionManifestExecutionSummary(manifest = this, encodedReceipt = encodedReceipt) +fun TransactionManifest.executionSummary(engineToolkitReceipt: BagOfBytes) = + transactionManifestExecutionSummary(manifest = this, engineToolkitReceipt = engineToolkitReceipt) fun TransactionManifest.Companion.accountLockerClaim( lockerAddress: LockerAddress, diff --git a/jvm/sargon-android/src/test/java/com/radixdlt/sargon/TransactionManifestTest.kt b/jvm/sargon-android/src/test/java/com/radixdlt/sargon/TransactionManifestTest.kt index 36d8c0e14..2fc9daa85 100644 --- a/jvm/sargon-android/src/test/java/com/radixdlt/sargon/TransactionManifestTest.kt +++ b/jvm/sargon-android/src/test/java/com/radixdlt/sargon/TransactionManifestTest.kt @@ -585,10 +585,10 @@ class TransactionManifestTest : SampleTestable { @Test fun test_execution_summary() { val name = "transfer_1to2_multiple_nf_and_f_tokens" - val receipt = encodedReceipt(name) + val receipt = engineToolkitReceipt(name) val manifest = manifest(name) - val summary = manifest.executionSummary(encodedReceipt = receipt) + val summary = manifest.executionSummary(engineToolkitReceipt = receipt) assertEquals( listOf( AccountAddress.init( @@ -661,7 +661,7 @@ class TransactionManifestTest : SampleTestable { networkId = NetworkId.STOKENET ) - private fun encodedReceipt(name: String): BagOfBytes = + private fun engineToolkitReceipt(name: String): BagOfBytes = openFile(name, "dat").readText().hexToBagOfBytes() private fun openFile(name: String, extension: String) =