Set default tx version to 2

This commit is contained in:
Sky Young 2018-10-04 13:46:59 -06:00
parent a755d7c6ef
commit dd259ea6bd

View File

@ -46,7 +46,8 @@ function TX(options) {
if (!(this instanceof TX))
return new TX(options);
this.version = 1;
// Default version to 2 for Flo
this.version = 2;
this.inputs = [];
this.outputs = [];
this.locktime = 0;