Skip to content

Commit

Permalink
tx hash부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
super053 committed Oct 14, 2020
1 parent 56cebcf commit 7af2fbf
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 11 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
filePath = "Web3Objc/CVETHLib/Transaction/CVETHTransaction.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "71"
endingLineNumber = "71"
startingLineNumber = "72"
endingLineNumber = "72"
landmarkName = "-hashForSign"
landmarkType = "7">
</BreakpointContent>
Expand All @@ -30,8 +30,8 @@
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "118"
endingLineNumber = "118"
startingLineNumber = "146"
endingLineNumber = "146"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
Expand Down Expand Up @@ -62,8 +62,8 @@
filePath = "Web3Objc/CVETHLib/Transaction/CVETHTransaction.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "105"
endingLineNumber = "105"
startingLineNumber = "106"
endingLineNumber = "106"
landmarkName = "-getSignedV"
landmarkType = "7">
</BreakpointContent>
Expand All @@ -78,8 +78,8 @@
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "46"
endingLineNumber = "46"
startingLineNumber = "72"
endingLineNumber = "72"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
Expand All @@ -94,8 +94,8 @@
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "35"
endingLineNumber = "35"
startingLineNumber = "61"
endingLineNumber = "61"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
Expand Down Expand Up @@ -148,5 +148,181 @@
</Locations>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "6AA2E08C-9556-4271-9605-942A1D421DCC"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "45"
endingLineNumber = "45"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "44526723-73B3-42DA-8E59-60DD4805913D"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "103"
endingLineNumber = "103"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "80E9D229-754B-43EE-BA4B-DF17FE72B788"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "86"
endingLineNumber = "86"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "AE269178-F657-4FC6-A09C-BAD2B34C1784"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "97"
endingLineNumber = "97"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "A2FEFE7E-60B9-49BF-AA3C-A98B9FC5DE2B"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "104"
endingLineNumber = "104"
landmarkName = "+encryptMessage:WithPubKey:WithSigner:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "06E1A276-2475-41B0-B0EB-A4320B0E04F7"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "97"
endingLineNumber = "97"
landmarkName = "+encryptMessage:WithPubKey:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "FC24EC9C-7EB7-48BC-8E6F-8D5D49E4F882"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "120"
endingLineNumber = "120"
landmarkName = "+encryptMessage:WithPubKey:WithSigner:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "7ECBD70A-2C72-48DF-896A-1A43E452129E"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "272"
endingLineNumber = "272"
landmarkName = "+_addPaddingIfNeeded:blockSize:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "A85B69B2-488B-4421-B8FE-80927375A139"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "150"
endingLineNumber = "150"
landmarkName = "+encryptMessage:WithPubKey:WithSigner:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "1E74A131-C065-4601-B3FC-C39650B8D725"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/CVETHLib/Wallet/CVETHWallet.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "149"
endingLineNumber = "149"
landmarkName = "+encryptMessage:WithPubKey:WithSigner:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "1B29E843-A6E3-468B-BBE0-066655CFE662"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "Web3Objc/AppDelegate.m"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "61"
endingLineNumber = "61"
landmarkName = "-application:didFinishLaunchingWithOptions:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
2 changes: 1 addition & 1 deletion Web3Objc/Web3/Eth/Accounts/PKWeb3EthAccounts.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ -(NSDictionary *)signTransaction:(CVETHTransaction *)_tx WithPrivateKey:(NSStrin
{
NSString *messageHash = [[[_tx hashForSign] dataDirectString] addPrefix0x];
NSString *rawTransaction = [_tx getSignTX:[_privateKey removePrefix0x]];
NSString *transactionHash = [[rawTransaction keccak256HashString] addPrefix0x];
NSString *transactionHash = [[[[rawTransaction parseHexData] keccak256] dataDirectString] addPrefix0x];
NSString *v = [[[_tx getSignedV] dataDirectString] addPrefix0x];
NSString *r = [[[_tx getSignedR] dataDirectString] addPrefix0x];
NSString *s = [[[_tx getSignedS] dataDirectString] addPrefix0x];
Expand Down

0 comments on commit 7af2fbf

Please sign in to comment.