Merge commit 'refs/pull/214/head' of github.com:bitcoindevkit/bdk

This commit is contained in:
Alekos Filini
2020-12-07 11:57:32 +01:00
5 changed files with 93 additions and 35 deletions

View File

@@ -32,7 +32,9 @@ use serde::{Deserialize, Serialize};
/// Types of script
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ScriptType {
/// External
External = 0,
/// Internal, usually used for change outputs
Internal = 1,
}