Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion DashSharedCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'DashSharedCore'
s.version = '0.5.0'
s.version = '0.5.2'
s.summary = 'Dash Core SPV written in Rust'
s.author = 'Dash'
s.description = "C-bindings for Dash Core SPV that can be used in projects for Apple platform"
Expand Down
2 changes: 1 addition & 1 deletion dash-spv-apple-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dash_spv_apple_bindings"
version = "0.5.0"
version = "0.5.2"
description = "C-bindings for using and interoperating with Dash SPV"
readme = "README.md"
edition = "2021"
Expand Down
4 changes: 1 addition & 3 deletions dash-spv-masternode-processor/src/util/data_append.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,13 @@ impl DataAppend for Vec<u8> /* io::Write */ {
[v, data @ ..] if *v == script_map.pubkey => {
OP_DUP.into_u8().enc(&mut writer);
OP_HASH160.into_u8().enc(&mut writer);
// writer.append_script_push_data(data.to_vec());
data.to_vec().append_script_push_data(&mut writer);
OP_EQUALVERIFY.into_u8().enc(&mut writer);
OP_CHECKSIG.into_u8().enc(&mut writer);
},
[v, data @ ..] if *v == script_map.script => {
OP_HASH160.into_u8().enc(&mut writer);
writer.append_script_push_data(data.to_vec());
// data.to_vec().append_script_push_data(&mut writer);
data.to_vec().append_script_push_data(&mut writer);
OP_EQUAL.into_u8().enc(&mut writer);
},
_ => {}
Expand Down
Loading