We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4daf8c commit 240c915Copy full SHA for 240c915
1 file changed
core/src/main/java/eu/bittrade/libs/steemj/base/models/SignedTransaction.java
@@ -165,7 +165,7 @@ public void sign(String chainId) throws SteemInvalidTransactionException {
165
Sha256Hash messageAsHash;
166
while (!isCanonical) {
167
try {
168
- messageAsHash = Sha256Hash.wrap(Sha256Hash.hash(this.toByteArray(chainId)));
+ messageAsHash = Sha256Hash.of(this.toByteArray(chainId));
169
} catch (SteemInvalidTransactionException e) {
170
throw new SteemInvalidTransactionException(
171
"The required encoding is not supported by your platform.", e);
0 commit comments