Skip to content

Commit

Permalink
fix types for BtcPartialMerkleTree (paritytech#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
atenjin authored Sep 30, 2020
1 parent 8685278 commit 6b1cbc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions scripts/chainx-js/chainx_types_manual.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,7 @@
"nonce": "u32"
},
"BtcTransaction": "Vec<u8>",
"BtcPartialMerkleTree": {
"tx_count": "u32",
"hashes": "Vec<H256>",
"bits": "Vec<bool>"
},
"BtcPartialMerkleTree": "Vec<u8>",
"BtcRelayedTxInfo": {
"block_hash": "H256",
"merkle_proof": "BtcPartialMerkleTree"
Expand Down
2 changes: 1 addition & 1 deletion scripts/chainx-js/res/chainx_rpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@
"type": "NominatorInfo<BlockNumber>"
}
}
}
}
6 changes: 1 addition & 5 deletions scripts/chainx-js/res/chainx_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,7 @@
},
"BtcCompact": "u32",
"BtcTransaction": "Vec<u8>",
"BtcPartialMerkleTree": {
"txCount": "u32",
"hashes": "Vec<H256>",
"bits": "Vec<bool>"
},
"BtcPartialMerkleTree": "Vec<u8>",
"BtcRelayedTxInfo": {
"blockHash": "H256",
"merkleProof": "BtcPartialMerkleTree"
Expand Down

0 comments on commit 6b1cbc3

Please sign in to comment.